﻿using System;
using Caliburn.Micro;
using Microsoft.Phone.Shell;
using Wulong.Phone.Qiushi.i18n;

namespace Wulong.Phone.Qiushi.Views
{
    public partial class AboutUsView
    {
        public AboutUsView()
        {
            InitializeComponent();
            LoadAppBar();
        }

        private void LoadAppBar()
        {
            // Set the page's ApplicationBar to a new instance of ApplicationBar
            ApplicationBar = new ApplicationBar();
            var goBackButton = new AppBarButton
            {
                IconUri = new Uri("/Toolkit.Content/ApplicationBar.Check.png", UriKind.Relative),
                Text = AppResources.V_AboutUs_AppBar_GoBack,
                Message = "NavigateToMainView"
            };
            ApplicationBar.Buttons.Add(goBackButton);
            
        }
    }
}